home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Atari Compendium
/
The Atari Compendium (Toad Computers) (1994).iso
/
files
/
umich
/
network
/
ka9q
/
nhclb120.zoo
/
td.c
< prev
next >
Wrap
C/C++ Source or Header
|
1992-06-21
|
307b
|
19 lines
#include <sys/types.h>
#include <sys/stat.h>
#include <dirent.h>
#include <stdio.h>
main(argc,argv)
int argc; char *argv[];
{
DIR *dirp;
struct dirent *dp;
dirp = opendir( "." );
while ( (dp = readdir( dirp )) != NULL )
{
printf("%s ", dp->d_name);
}
closedir( dirp );
}